Use CRPEngine::PrintReport to provide a quick but limited way to print a report. The report may be sent only to a printer or preview window or both. Use this class method any time that you simply want to print a report from an application without giving the user the ability to customize the report.
short PrintReport (
const _TCHAR *reportFilePath,
BOOL toPrinter,
BOOL toWindow,
const _TCHAR *title,
int left,
int top,
int width,
int height,
DWORD style,
CWnd *parentWindow );
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |